package com.member.shop.service;

import com.github.binarywang.wxpay.bean.order.WxPayAppOrderResult;
import com.github.binarywang.wxpay.bean.order.WxPayMpOrderResult;
import com.github.binarywang.wxpay.exception.WxPayException;
import com.member.shop.domain.SysBizOrder;
import com.member.shop.dto.WxPayDto;

import java.math.BigDecimal;

public interface IPayService {
    WxPayAppOrderResult wxAppPay(WxPayDto wxPayDto) throws WxPayException;

    Boolean refund(String refundId, SysBizOrder bizOrder);

    Boolean refund2(String refundId, SysBizOrder bizOrder, BigDecimal refundFee);
}
